<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
import { useRoute } from 'vue-router';
const route = useRoute();
const locale = zhCn;
</script>

<template>
  <el-config-provider :locale="locale">
    <router-view :key="route.path"></router-view>
  </el-config-provider>
</template>

<style scoped></style>
